From c1bace00de265bf34bdf6119d99888bbb57a4ef4 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 6 Sep 2018 16:05:52 +0200 Subject: [PATCH] x86emul: fix test harness dependencies The generated header files are what needs to spell out dependencies on other (real) headers in the main Makefile here, not the intermediate (helper) .o files produced through testcase.mk. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- tools/tests/x86_emulator/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tests/x86_emulator/Makefile b/tools/tests/x86_emulator/Makefile index 61956e59c6..e8a3e9057e 100644 --- a/tools/tests/x86_emulator/Makefile +++ b/tools/tests/x86_emulator/Makefile @@ -109,9 +109,9 @@ $(addsuffix .c,$(FMA)): $(addsuffix .c,$(SG)): ln -sf simd-sg.c $@ -$(addsuffix .o,$(SIMD) $(FMA) $(SG)): simd.h +$(addsuffix .h,$(SIMD) $(FMA) $(SG)): simd.h -xop.o: simd-fma.c +xop.h: simd-fma.c $(TARGET): x86-emulate.o test_x86_emulator.o wrappers.o $(HOSTCC) $(HOSTCFLAGS) -o $@ $^ -- 2.30.2